package com.zzj.dao;

import com.zzj.bean.AccountBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountDao {

    int add(AccountBean accountBean);

    int del(int aid);

    int update(AccountBean accountBean);

    List<AccountBean> findAll();

    AccountBean findById(int aid);

    int transformMoneyById(@Param("aid") int aid, @Param("money") double money);
}
